package com.hhs.storage.controller;


import com.hhs.storage.bean.ContractProductSupplier;
import com.hhs.storage.bean.InputParam;
import com.hhs.storage.bean.ProductSupplier;
import com.hhs.storage.service.ContractProductSupplierService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author hhs
 * @since 2023-01-04
 */
@RestController
@RequestMapping("/contractProductSupplier")
public class ContractProductSupplierController {
    @Autowired
    private ContractProductSupplierService contractProductSupplierService;
    @RequestMapping(value = "getProductSuppliersByContractId")
    public Map<String, Object> getProductSuppliersByContractId(String contractId) {
        return contractProductSupplierService.getProductSuppliersByContractId(contractId);
    }
}

